package com.geovis.emergency.spd.entity.system.pojo.dto;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 资源信息查询DTO
 * </p>
 *
 * @author 王响
 * @since 2021-11-09
 */

@Getter
@Setter
@ToString(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "SystemResourcesQueryDTO", description = "资源信息查询DTO")
public class SystemResourcesQueryDTO implements Serializable {

    @ApiModelProperty(value = "用户id")
    @Length(max = 64, message = "用户id最长不能超过{64}个字符")
    private String userId;

    @ApiModelProperty(value = "角色id")
    @Length(max = 64, message = "角色id最长不能超过{64}个字符")
    private String roleId;

    @ApiModelProperty(value = "资源类型")
    private List<String> type;

    @ApiModelProperty(value = "资源名称")
    @Length(max = 128, message = "资源名称最长不能超过{128}个字符")
    private String name;

    @ApiModelProperty(value = "资源英文名称")
    @Length(max = 128, message = "资源英文名称最长不能超过{128}个字符")
    private String enName;

}

